home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-03-07 | 1.5 KB | 52 lines | [TEXT/R*ch] |
- # BBEditStartup
- # Version 2.5.4
- # January 3, 1994
-
- # This script is invoked by BBEdit when it establishes the ToolServer
- # connection. It should reside in the same folder as ToolServer.
-
- #############################################################################
-
- # The commands in this section MUST NOT BE ALTERED, or the link between
- # BBEdit and ToolServer will not function correctly.
-
- Export BBEditNBPObj
- Export BBEditNBPType
- Export BBEditNBPZone
- Export BBEditPPCPortName
- Export BBEditPPCClientName
- Export BBEditIsRemote
- Export BBEditExists
-
- unalias File
-
- if `Exists "{MPW}"Scripts:BBEdit•File` == ""
- echo '### The "File" command may not work properly, because the'
- echo '### "BBEdit•File" script is missing from your Scripts folder.'
- echo
- echo '### Also make sure that you have installed the custom "BBEdit•Line"'
- echo '### script in your Scripts folder.'
-
- alias File Target
- else
- alias File '"{MPW}"Scripts:BBEdit•File'
- alias Line '"{MPW}"Scripts:BBEdit•Line'
- end
-
- if `Exists "{MPW}"Tools:RBBEdit` == ""
- echo
- echo '### The "RBBEdit" tool is missing from your Tools folder.'
- echo '### Until you install it, the File and Line commands will'
- echo '### not work.'
- echo
- echo '### Also make sure that you install the custom BBEdit•File and BBEdit•Line'
- echo '### scripts in your Scripts folder'
- end
-
- For __Startup__i in `(Files "{ShellDirectory}"BBEditStartup•≈ || Set Status 0) ≥ dev:null`
- Execute "{__Startup__i}"
- End
- Unset __Startup__i
-
- #############################################################################
-